# coding=utf-8
from src.db.basemodel import BaseModel, GetInteger, GetString, GetDatetime, GetText


class RunHistory(BaseModel):
    __tablename__ = 'run_history'

    id = GetInteger(primary_key=True, auto_increment=True)
    job_name = GetString(length=128)
    create_time = GetDatetime()
    state = GetInteger(default=0)
    remark = GetText()
    is_del = GetInteger(default=0)
